import request from '@/utils/request';

export function tagList(tenantId) {
  return request({
    url: '/ss/sys/eduxcloudTag/list',
    method: 'get',
    params: {tenantId}
  })
}

export function add(data) {
  return request({
    url: '/ss/sys/eduxcloudTag/add',
    method: 'post',
    data: data
  })
}

export function updateTag(data) {
  return request({
    url: '/ss/sys/eduxcloudTag/add',
    method: 'post',
    data: data
  })
}

export function deleteTag(id) {
  return request({
    url: '/ss/sys/eduxcloudTag/delete',
    method: 'get',
    params: {id}
  })
}
